package DB4O_Class;
import java.util.*;

public class NhomNen{
	private String Manhom;
	private String Tennhom;
	private Set<Gia> Banggia;
	private Set<Nen> Dsnen;
	
	public NhomNen(){}
	public NhomNen(String manhom, String tennhom){
		this.Manhom = manhom;
		this.Tennhom = tennhom;
		this.Banggia = new HashSet<Gia>();
		this.Dsnen = new HashSet<Nen>();
	}
	
	public String getManhom(){ return this.Manhom;}
	public String getTennhom(){ return this.Tennhom;}
	public Set<Gia> getBanggia(){ return this.Banggia;}
	public Set<Nen> getDsnen(){ return this.Dsnen;}
	
	public void setManhom(String manhom){ this.Manhom = manhom;}
	public void setTennhom(String tennhom){ this.Tennhom = tennhom;}
	public void setBanggia(Set<Gia> banggia){ this.Banggia = banggia;}
	public void setDsnen(Set<Nen> dsnen){ this.Dsnen = dsnen;}
}